#ifndef VOLTAGE_DETECTION_H_
#define VOLTAGE_DETECTION_H_

//include
#include "zf_common_typedef.h"
typedef float voltage_t;
struct voltage_s
{
    voltage_t battery,servo0,servo1,servo2,servo3;
};

extern struct voltage_s voltage;
void voltageDetectionInit(void);
void voltageGet(void);

#endif
